/**
 * Created by claim on 16-12-25.
 */
let email = /^\w+@(\w+\.)+\w+$/;
console.log(email.test('ywtyx04@126.com'));
console.log(email.exec('ywtyx04@126.com'));